<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/mytag" prefix="yjd"%>
<div class="wrap">
	<div class="nav">
		<div class="return">
			<a href='<yjd:url url="/funds/channel/list"/>'>返回上一页</a>
		</div>
	</div>
	<!-- start -->
	<form method="post" enctype="multipart/form-data" class="J_ajaxForm" autocomplete="off" action='<yjd:url url="/funds/channel/submit"/>'>
		<div class="table_full">
			<table width="100%">
				<tr>
					<th width="200">渠道名称:</th>
					<td>
						<input name="name" type="text" class="input length_5" value="${channel.name}">
						<input name="fund_channel" type="hidden" value="${channel.fund_channel}">
					</td>
				</tr>
				<tr>
					<th width="200">渠道CODE:</th>
					<td>
						<input name="channel_code" type="text" class="input length_5" value="${channel.channel_code}">
					</td>
				</tr>
				<tr>
					<th>所属公司:</th>
					<td>
						<input name="company" type="text" class="input length_5" value="${channel.company}">
					</td>
				</tr>
				<tr>
					<th>联系电话:</th>
					<td>
						<input name="tel_number" type="text" class="input length_5" value="${channel.tel_number}">
					</td>
				</tr>
				<tr>
					<th>贷款利率:</th>
					<td>
						<input name="loan_rate" type="text" class="input length_5" value="${channel.loan_rate}">
					</td>
				</tr>
				<tr>
					<th>利润分成:</th>
					<td>
						<input name="profit_allocation" type="text" class="input length_5" value="${channel.profit_allocation}">
					</td>
				</tr>
				<tr>
					<th>风控配置:</th>
					<td>
						<input name="risk_management_config" type="text" class="input length_5" value="${channel.risk_management_config}">
					</td>
				</tr>
				<tr>
					<th>是否启用:</th>
					<td>
						<label><input name="available" type="radio" value="1" <c:if test="${channel.available == 1}">checked</c:if>/>是</label>
						<label><input name="available" type="radio" value="0" <c:if test="${channel.available == 0}">checked</c:if>/>否</label>
					</td>
				</tr>
			</table>
		</div>
		<input class="btn btn_submit J_ajax_submit_btn" type="submit" value="确认保存">
	</form>
</div>
